<!DOCTYPE html>
<html lang="en" style="height:100%">

<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>设置</title>
    <link rel="stylesheet" type="text/css" href="../../css/api.css" />
    <link rel="stylesheet" type="text/css" href="../../css/style.css" />
    <link rel="stylesheet" type="text/css" href="../../css/yzl.css" />
    <!-- <link rel="stylesheet" href="../../css/BarlowCondensed-Bold.woff.ttf" /> -->
    <!-- <link rel="stylesheet" href="../../css/sqc.css"> -->
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        input{

            outline:none;
        }

    </style>
</head>

<body style="background: #f7f4f2;">
<div id="blank" class="header" v-cloak style="border-bottom:1px solid #f7f4f2;">
    <div v-back.tapmode class="back"></div>
    <div class="title">设置</div>
</div>
<div id="app"  v-cloak style="padding-top:60px;">
    <div class="set-contents">
        <ul>
            <li style="border-bottom: 1px solid #f7f4f2">
                微信绑定
                <img v-src="'../../image/arrow_right_grey.png'"/>
            </li>
            <li style="border-bottom: 1px solid #f7f4f2" v-myclick="updPassword">
                资产密码
                <img v-src="'../../image/arrow_right_grey.png'"/>
            </li>
            <li style="border-bottom: 1px solid #f7f4f2" v-open-win vurl="aboutUs" v-row-active.tapmode>
                关于我们
                <img v-src="'../../image/arrow_right_grey.png'"/>
            </li>
            <li style="border-bottom: 1px solid #f7f4f2" v-row-active.tapmode>
                用户协议
                <img v-src="'../../image/arrow_right_grey.png'"/>
            </li>
            <li >
                账号申诉
                <img v-src="'../../image/arrow_right_grey.png'"/>
            </li>
        </ul>
    </div>
    <div class="out" v-myclick="login_out">退出账号</div>
</div>
</body>
<script src="../../script/api.js"></script>
<script src="../../script/vue.js"></script>
<script src="../../script/app.js"></script>
<script src="../../script/common.js"></script>
<script src="../../script/url.js"></script>
<script src="../../script/components.js"></script>
<script type="text/javascript" src="../../script/jquery.js"></script>

<script>
    var vm,
        wx,
        aliTradePlus,
        qq,
        talkingData;
    apiready = function () {
        setBSImg();
        new Vue({
            el: '#blank'
        })
        wx = api.require('wx');
        // setBSImg();
        initApp();
        api.parseTapmode();
        addListeners();
    };

    function initApp() {
        // var isBigImg = Vue.BSImg == 'big';
        vm = new Vue({
            el: '#app',
            data: {

            },
            computed: {

            },
            methods: {
                login_out:function(){
                  removePrefs('token');
                  removePrefs('user');
                  removePrefs('member_id');
                  removePrefs('username');
                  removePrefs('portrait');
                  api.closeWin({
                      name: 'index'
                  });

                  api.openWin({
                      name: 'login',
                      url: '../login/login.html',
                  });

                },
                updPassword:function(){
                  if(!hasPrefs('token')){
                    api.openWin({
                        name: 'login',
                        url: '../login/login.html',
                    });

                    return;
                  }
                  api.openWin({
                      name: 'assetpwd',
                      url: './assetpwd.html',
                  });

                },
            },
            watch: {
            },
        })
    }

    function addListeners(){

    }

</script>

</html>
